import {get, post} from './request.js';


const search = paging => {
    return get('/user', {params: paging});
}

const me = () => {
    return get('/user/me');
}

const create = user => {
    return post('/user', user)
}
export default {
    create,
    me,
    search
}